<?php

namespace pmvc\mvc;

/**
 * Mapping interface that returns {@link ViewHandler}s.
 *
 */
interface ViewHandlerMapping {

	/**
	 * Returns a {@link MappedObject} that contains the mapping
	 * and a {@link ViewHandler} and the m that can render the
	 * given view name and {@link Request}.
	 * @param string $viewName
	 * @param Request $request
	 */
	function getViewHandler($viewName, Request $request);
}


?>